package com.muyu.model.excel;

import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @ClassName: ExportUser
 * @Author: Zirun.Xin
 * @Date: 2025/4/10 上午9:36
 * @Version: 1.0
 * @Description: excel导出用户对象
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ExportUser implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 姓名
     */
    @Excel(name = "姓名", width = 10.0)
    private String name;

    /**
     * 年龄
     */
    @Excel(name = "年龄", width = 10.0)
    private Integer age;

    /**
     * 性别
     */
    @Excel(name = "性别", width = 5.0)
    private String sex;

    /**
     * 地址
     */
    @Excel(name = "地址", width = 30.0)
    private String address;

    /**
     * 用户描述
     */
    @Excel(name = "用户描述", width = 20.0)
    private String describes;
}
